//
// Component: Icon
//
// ========================================================================


// Variables
// ========================================================================


@icon-font-path:                                "../../lib/uikit/fonts";

@icon-hover-color:                              @global-muted-color;
@icon-hover-hover-color:                        @global-color;

@icon-button-height:                            @icon-button-width;
@icon-button-font-size:                         15px;
@icon-button-color:                             @global-color;

@icon-button-hover-color:                       @global-color;

@icon-button-active-color:                      @global-color;


// Modifier: `uk-icon-hover`
// ========================================================================

.hook-icon-hover() {}

.hook-icon-hover-hover() {}


// Modifier: `uk-icon-button`
// ========================================================================

.hook-icon-button() {}

// Hover
.hook-icon-button-hover() {}

// Active
.hook-icon-button-active() {}


// Miscellaneous
// ========================================================================

.hook-icon-misc() {

    .uk-icon-button-primary {
        background: @global-primary-background;
        color: @global-contrast-color;
    }

    .uk-icon-button-primary:hover,
    .uk-icon-button-primary:focus,
    .uk-icon-button-primary:active {
        background: darken(@global-primary-background, 15%);
        color: @global-contrast-color;
    }

    .uk-icon-button-danger {
        background: @global-danger-background;
        color: @global-contrast-color;
    }

    .uk-icon-button-danger:hover,
    .uk-icon-button-danger:focus,
    .uk-icon-button-danger:active {
        background: darken(@global-danger-background, 15%);
        color: @global-contrast-color;
    }

    .uk-icon-button-outline,
    .uk-icon-button-outline:hover,
    .uk-icon-button-outline:focus,
    .uk-icon-button-outline:active {
        background: none;
        color: inherit;
        border: 1px currentColor solid;
    }

    .uk-icon-justify {
        width: 1.5em;
        text-align: left;
    }
}
